package com.xt.messageConverter;

//import com.google.gson.GsonBuilder;
import org.springframework.http.converter.json.GsonHttpMessageConverter;

/**
 * Created by TT on 2017/7/7.
 */
public class MmoJsonConverter extends GsonHttpMessageConverter {

    public MmoJsonConverter(){
        //更换Gson转换器
        /*super.setGson(new GsonBuilder()	//null值属性也需要序列化
                .setDateFormat("yyyy-MM-dd HH:mm:ss") //设置日期转换
                .create());*/
    }
}
